package whf.file.service;

import whf.file.dao.FolderDAO;
import whf.file.entity.Folder;
import whf.framework.exception.ServiceNotFoundException;
import whf.framework.util.BeanFactory;

/**
 * 服务对象具体实现，委托相应的dao对象实现相关操作
 * 
 * @author wanghaifeng
 * @email king@126.com
 * @modify 2006-11-14
 */
public class FolderServiceImp extends whf.framework.service.ServiceImp<Folder>
		implements FolderService {

	private FolderDAO folderDAO;

	public void setFolderDAO(FolderDAO folderDAO) {
		this.folderDAO = folderDAO;
	}

	public static FolderService getFolderService()
			throws ServiceNotFoundException {
		return (FolderService) BeanFactory.getService(FolderServiceImp.class);
	}

}